package com.lxmes.pm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 经费科目管理对象 a_outlay_project
 * 
 * @author zhangzhiyu
 * @date 2023-04-04
 */
public class AOutlayProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 组织机构ID */
    @Excel(name = "组织机构ID")
    private Long deptId;

    /** 科目编号 */
    @Excel(name = "科目编号")
    private String kmCode;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String kmName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setKmCode(String kmCode) 
    {
        this.kmCode = kmCode;
    }

    public String getKmCode() 
    {
        return kmCode;
    }
    public void setKmName(String kmName) 
    {
        this.kmName = kmName;
    }

    public String getKmName() 
    {
        return kmName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("kmCode", getKmCode())
            .append("kmName", getKmName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
